const reducer = (preState= {cinemaList: []}, action) => {
    const newState = {...preState};
    if (action.type === "queryCinemaList") {
        newState.cinemaList = action.payload;
        return newState;
    }
    return preState;
}

export default reducer;